@extends('layouts.default') @section('main')
<link rel="stylesheet" href="/css/uniform.css" />
<link rel="stylesheet" href="/css/select2.css" />
<div id="content">
    <div id="content-header">
        <div id="breadcrumb">
            <a href="{{url('home')}}" title="返回首页" class="tip-bottom"><i
                    class="icon-home"></i> 首页</a> <a href="#" class="current">缓存管理</a>
        </div>
    </div>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title">
                        <span class="icon"><i class="icon-th"></i></span>
                        <h5>缓存管理</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <table class="table table-bordered table-striped">
                            <thead>
                            <tr>
                                <th>缓存KEY值</th>
                                <th>缓存内容</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                                <tr class="gradeX">
                                    <td></td>
                                    <td></td>
                                    <td class="center">
                                        @if(in_array('delete',$actions)) <a data-original-title="删除"
                                                                            data-toggle="modal" class="tip activity_delete"
                                                                            activity_id="{{$activity->id}}" href="#myAlert"><i
                                                class="icon-remove"></i></a> @endif
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>

            </div>
        </div>
    </div>
</div>
<div>
    <div id="myAlert" class="modal hide">
        <div class="modal-header">
            <button data-dismiss="modal" class="close" type="button">×</button>
            <h3>提示</h3>
        </div>
        <div class="modal-body">
            <p>确认删除这条数据吗？</p>
        </div>
        <div class="modal-footer">
            <a data-dismiss="modal" class="btn btn-primary" href="javascript:void(0);">确定</a>
            <a data-dismiss="modal" class="btn" href="javascript:void(0);">取消</a>
        </div>
    </div>
    <form action="{{url('activity/delete')}}" method="post"
          id="activityForm">
        <input type="hidden" name="aid" value="0">
    </form>
</div>
<script src="/js/jquery.min.js"></script>
<script src="/js/matrix.tables.js"></script>
<script src="/js/common.js"></script>
</script>
@stop
